﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace PessMvc.Models
{
    public class PaymentViewModel
    {
        public string PayId { get; set; }
        public string Status { get; set; }
        public string PayerName { get; set; }
        public string UserId { get; set; }
        public decimal Amount { get; set; }
        public decimal Paid { get; set; }
        public decimal Refund { get; set; }
        public DateTime OverTime { get; set; }
        public string PayType { get; set; }
        public string PayPasscode { get; set; }
    }

    public class RegistrationViewModel
    {
        [Required]
        public int BasicItemId { get; set; }
        public int AddonItemId { get; set; }
        /// <summary>
        /// 0: Non-vegetarian; 1: Vegetatrian
        /// </summary>
        [Required]
        public int Preference { get; set; }
    }
}